package com.ruoyi.production.domain.carton;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 纸箱类型对象 carton_type
 *
 * @author ruoyi
 * @date 2021-07-08
 */
public class CartonType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 纸箱编号 */
    private Long cartonTypeId;

    /** 纸箱类型 */
    @Excel(name = "纸箱类型")
    private String cartonType;

    public void setCartonTypeId(Long cartonTypeId)
    {
        this.cartonTypeId = cartonTypeId;
    }

    public Long getCartonTypeId()
    {
        return cartonTypeId;
    }
    public void setCartonType(String cartonType)
    {
        this.cartonType = cartonType;
    }

    public String getCartonType()
    {
        return cartonType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cartonTypeId", getCartonTypeId())
            .append("cartonType", getCartonType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
